<?php
/**
 * Created by PhpStorm.
 * User: Guangpeng Chen
 * Date: 15-8-12
 * Time: 下午5:56
 */
$channel = $_GET['channel'];
switch ($channel) {
    case 'ctrip':
        $id = $_GET['id'];
        include '../api/ctrip/ctrip_test.php';
        $ctrip =  new Ctrip();
        $TicketSenicSpotInfo = $ctrip->TicketSenicSpotInfo($id);

        break;
}
?>